package com.todod.base.module.infra.api.file.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "RPC 服务 - 文件创建 Request DTO")
@Data
public class FileRelationReqDTO {

    @Schema(description = "对应文件表id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long foreignTableId;

    @Schema(description = "对应文件表名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String foreignTableName;

    @Schema(description = "对应文件类型(各表自定义)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String foreignFileType;

    private List<FileCreateReqDTO> fileList; // 文件列表
}
